using System.Collections.Generic;
using UnityEngine;

public class IOSNativeSettings : ScriptableObject
{
	public const string VERSION_NUMBER = "7.0";

	private const string ISNSettingsAssetName = "IOSNativeSettings";

	private const string ISNSettingsPath = "Extensions/IOSNative/Resources";

	private const string ISNSettingsAssetExtension = ".asset";

	public string AppleId = "XXXXXXXXX";

	public List<string> InAppProducts = new List<string>();

	public bool SendFakeEventsInEditor = true;

	public List<string> RegisteredAchievementsIds = new List<string>();

	public List<string> DefaultStoreProductsView = new List<string>();

	public bool checkInternetBeforeLoadRequest;

	public bool ShowStoreKitParams;

	public bool ShowGCParams;

	public bool ShowAchievementsParams;

	public bool ShowUsersParams;

	public bool ShowOtherParams;

	public bool ShowCameraAndGalleryParams;

	public bool UseOneSignal;

	public bool DisablePluginLogs;

	public bool UseGCRequestCaching;

	public bool UsePPForAchievements;

	public bool EnablePushNotificationsAPI;

	public bool AutoLoadUsersSmallImages = true;

	public bool AutoLoadUsersBigImages;

	public int MaxImageLoadSize = 512;

	public float JPegCompressionRate = 0.8f;

	public IOSGalleryLoadImageFormat GalleryImageFormat = IOSGalleryLoadImageFormat.JPEG;

	private static IOSNativeSettings instance;

	public static IOSNativeSettings Instance
	{
		get
		{
			if (instance == null)
			{
				instance = Resources.Load("IOSNativeSettings") as IOSNativeSettings;
				if (instance == null)
				{
					instance = ScriptableObject.CreateInstance<IOSNativeSettings>();
				}
			}
			return instance;
		}
	}
}
